<% content_for(:for_javascript) do %>
<% jscomp('app/project/index, app/task/dlg_report') %>
<% end %>

<table class="mainpage_content_table" border="0" cellpadding="0" cellspacing="0" style="width:100%;height:100%;">
	<tr>
		<td class="mainpage_content_head">Dashboard</td>
	</tr>
	<tr>
		<td style="padding:20px;">
			<div id="content_dsd" style="width:100%;height:100%;">
			<%= hidden_field :project, :id	%>
				<table border="0" cellspacing="0" cellpadding="0" style="width:100%;height:100%;">
					<tr>
						<td id="task_block_list" style="height:80%;width:50%;vertical-align:top;padding-bottom:20px;padding-right:15px;">
							<%= render_component :controller=>"task", :action=>"block_list", :params=>{:project_id=>(@project.nil? ? nil : @project.id)} %>
						</td>
						<td style="height:80%;width:50%;vertical-align:top;padding-bottom:20px;padding-left:15px;">
							<%= render_component :controller=>"event", :action=>"block_list", :params=>{:project_id=>(@project.nil? ? nil : @project.id)} %>
						</td>
					</tr>
					<tr>
						<td id="task_block_infolist" style="height:20%;vertical-align:top;padding-right:15px;">
							<%= render_component :controller=>"projectlog", :action=>"block_list", :params=>{:project_id=>(@project.nil? ? nil : @project.id)} %>
						</td>
						<td style="height:20%;vertical-align:top;padding-left:15px;" id="prujectuser_block_list">
							<%= render_component :controller=>"projectuser", :action=>"block_list", :params=>{:project_id=>(@project.nil? ? nil : @project.id)} %>
						</td>
					</tr>
				</table>
			</div>
		</td>
	</tr>
</table>

<!-- タスク報告ダイアログ start -->
<%= render :partial=>"task/dlg_report" %>
<!-- タスク報告ダイアログ end -->